package com.kim.useroauth.common.utils;

/**
 * @Project: kim-security-oauth
 * @PackageName: com.kim.userinfo.common.utils
 * @FileName: UserUtil.java
 * @Description: The UserUtil is...
 * @Author: kimwu
 * @Time: 2020-12-10 09:15:58
 */
public class UserUtil {

    /**
     * 处理性别为系统统一默认女性
     *
     * @param sex 微信的性别是int
     */
    public static String makeUserAccountSex(String sex) {
        return sex == null ? "F" : "1".equals(sex) ? "M" : "F";
    }
}
